package com.data.entity;

import java.util.Date;

/**
 * 实时采集数据库表
 * @author Administrator
 *
 */
public class BaseData {
	private Long id;//主键id
	private String equNo;//设备编号，唯一，与设备表设备编号字段对应
	private Double U_a;//A相电压(电压取值)
	private Double U_b;//B相电压
	private Double U_c;//C相电压
	private Double U_ab;//AB线电压
	private Double U_bc;//BC线电压
	private Double U_ca;//CA线电压
	private Double I_a;//A相电流(电流取值)
	private Double I_b;//B相电流
	private Double I_c;//C相电流
	private Double P_a_active;//A相有功功率
	private Double P_b_active;//B相有功功率
	private Double P_c_active;//C相有功功率
	private Double P_active;//总有功功率(总功率取值)
	private Double P_a_reactive;//A相无功功率
	private Double P_b_reactive;//B相无功功率
	private Double P_c_reactive;//C相无功功率
	private Double P_reactive;//总无功功率
	private Double P_a_apparent;//A相视在功率
	private Double P_b_apparent;//B相视在功率
	private Double P_c_apparent;//C相视在功率
	private Double P_apparent;//总视在功率
	private Double P_a_factor;//A相功率因素
	private Double P_b_factor;//B相功率因素
	private Double P_c_factor;//C相功率因素
	private Double P_factor;//总功率因素
	private Integer Frequency;//频率
	private Double P_engry;//正向吸收有功电能(电度取值)
	private Double N_engry;//反向释放有功电能
	private Double I_power;//感性无功电能
	private Double C_power;//容性无功电能
	private Date Time;//数据采集时间
	
	@Override
	public String toString() {
		return "BaseData [id=" + id + ", equNo=" + equNo + ", U_a=" + U_a
				+ ", I_a=" + I_a + ", P_active=" + P_active + ", Frequency="
				+ Frequency + ", P_engry=" + P_engry + ", Time=" + Time + "]";
	}
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getEquNo() {
		return equNo;
	}
	public void setEquNo(String equNo) {
		this.equNo = equNo;
	}
	public Double getU_a() {
		return U_a;
	}
	public void setU_a(Double u_a) {
		U_a = u_a;
	}
	public Double getU_b() {
		return U_b;
	}
	public void setU_b(Double u_b) {
		U_b = u_b;
	}
	public Double getU_c() {
		return U_c;
	}
	public void setU_c(Double u_c) {
		U_c = u_c;
	}
	public Double getU_ab() {
		return U_ab;
	}
	public void setU_ab(Double u_ab) {
		U_ab = u_ab;
	}
	public Double getU_bc() {
		return U_bc;
	}
	public void setU_bc(Double u_bc) {
		U_bc = u_bc;
	}
	public Double getU_ca() {
		return U_ca;
	}
	public void setU_ca(Double u_ca) {
		U_ca = u_ca;
	}
	public Double getI_a() {
		return I_a;
	}
	public void setI_a(Double i_a) {
		I_a = i_a;
	}
	public Double getI_b() {
		return I_b;
	}
	public void setI_b(Double i_b) {
		I_b = i_b;
	}
	public Double getI_c() {
		return I_c;
	}
	public void setI_c(Double i_c) {
		I_c = i_c;
	}
	public Double getP_a_active() {
		return P_a_active;
	}
	public void setP_a_active(Double p_a_active) {
		P_a_active = p_a_active;
	}
	public Double getP_b_active() {
		return P_b_active;
	}
	public void setP_b_active(Double p_b_active) {
		P_b_active = p_b_active;
	}
	public Double getP_c_active() {
		return P_c_active;
	}
	public void setP_c_active(Double p_c_active) {
		P_c_active = p_c_active;
	}
	public Double getP_active() {
		return P_active;
	}
	public void setP_active(Double p_active) {
		P_active = p_active;
	}
	public Double getP_a_reactive() {
		return P_a_reactive;
	}
	public void setP_a_reactive(Double p_a_reactive) {
		P_a_reactive = p_a_reactive;
	}
	public Double getP_b_reactive() {
		return P_b_reactive;
	}
	public void setP_b_reactive(Double p_b_reactive) {
		P_b_reactive = p_b_reactive;
	}
	public Double getP_c_reactive() {
		return P_c_reactive;
	}
	public void setP_c_reactive(Double p_c_reactive) {
		P_c_reactive = p_c_reactive;
	}
	public Double getP_reactive() {
		return P_reactive;
	}
	public void setP_reactive(Double p_reactive) {
		P_reactive = p_reactive;
	}
	public Double getP_a_apparent() {
		return P_a_apparent;
	}
	public void setP_a_apparent(Double p_a_apparent) {
		P_a_apparent = p_a_apparent;
	}
	public Double getP_b_apparent() {
		return P_b_apparent;
	}
	public void setP_b_apparent(Double p_b_apparent) {
		P_b_apparent = p_b_apparent;
	}
	public Double getP_c_apparent() {
		return P_c_apparent;
	}
	public void setP_c_apparent(Double p_c_apparent) {
		P_c_apparent = p_c_apparent;
	}
	public Double getP_apparent() {
		return P_apparent;
	}
	public void setP_apparent(Double p_apparent) {
		P_apparent = p_apparent;
	}
	public Double getP_a_factor() {
		return P_a_factor;
	}
	public void setP_a_factor(Double p_a_factor) {
		P_a_factor = p_a_factor;
	}
	public Double getP_b_factor() {
		return P_b_factor;
	}
	public void setP_b_factor(Double p_b_factor) {
		P_b_factor = p_b_factor;
	}
	public Double getP_c_factor() {
		return P_c_factor;
	}
	public void setP_c_factor(Double p_c_factor) {
		P_c_factor = p_c_factor;
	}
	public Double getP_factor() {
		return P_factor;
	}
	public void setP_factor(Double p_factor) {
		P_factor = p_factor;
	}
	public Integer getFrequency() {
		return Frequency;
	}
	public void setFrequency(Integer frequency) {
		Frequency = frequency;
	}
	public Double getP_engry() {
		return P_engry;
	}
	public void setP_engry(Double p_engry) {
		P_engry = p_engry;
	}
	public Double getN_engry() {
		return N_engry;
	}
	public void setN_engry(Double n_engry) {
		N_engry = n_engry;
	}
	public Double getI_power() {
		return I_power;
	}
	public void setI_power(Double i_power) {
		I_power = i_power;
	}
	public Double getC_power() {
		return C_power;
	}
	public void setC_power(Double c_power) {
		C_power = c_power;
	}
	public Date getTime() {
		return Time;
	}
	public void setTime(Date time) {
		Time = time;
	}
}
